package com.java.service;

import com.java.pojo.Page;
import com.java.pojo.Repository;
import com.java.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

//仓库
public interface RepositoryService {
    List<Repository> getReList();


    /*分页和根据编号模糊查询*/
    /*获取page对象*/
    Page<Repository> getPageByRepository(Integer a, String rname);
    /*总页数*/
    Integer getCount(String rname);

    int addRepository(Repository repository);


    //删除
    int delR( Integer id);

    Repository getREByName( String name);

}
